<template>
  <div class="news-root">
    <van-sticky>
      <van-nav-bar title="详情" left-arrow @click-left="$router.goBack()" />
    </van-sticky>
    <div class="title">系统优化升级</div>
    <div class="time">2021-02-06 05:36:27</div>

    <div class="content" v-html="desc"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      desc:
        "<p>I believe I can fly</p><p style='font-size: 1rem'>I believe I can fly</p>",
    };
  },
};
</script>

<style lang="scss" scoped>
.news-root {
  font-size: 0.26rem;
  text-align: left;
  .title {
    padding: 0.3rem;
  }

  .time {
    font-size: 0.2rem;
    padding: 0 0.3rem;
  }

  .content {
    padding: 0 0.3rem;
  }
}
</style>
